package com.gzucm.Scholarship.controller;

import com.gzucm.Scholarship.dto.ResultDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@Api(tags = "测试接口控制器")
@RequestMapping("/api/test")
public class TestController {

    @GetMapping("")
    @ApiOperation(value = "GET方式", notes = "开发测试用接口")
    public ResultDTO test() {
        return ResultDTO.success("ok");
    }


}
